package com.oa.mapper;

import com.oa.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    //登陆
    User login(User user);
    //条件查询
    List<User> selectAll(User user);
    //删除
    int deleteUser(User user);
    //修改
    int updateUser(User user);
    //添加
    int insertUser(User user);
}
